// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link{
  color: var(--el-color-primary) !important;
}

.operation-bar {
  .el-col {
    padding: 5px;
  }
  .top-right-btn {
    margin: 5px 5px 5px auto;
  }
}

// 修改弹窗中input-with-select样式
.entire-building {
  .input-with-select {
    > .el-input__wrapper {
      display: none;
    }
    .el-input-group__prepend {
      background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
      border-right: 1px solid var(--el-input-border-color);
    }
  }
}

// 抽屉header
.el-drawer__header {
  margin-bottom: 0;
}

.el-upload-list--picture-card {
  --el-upload-list-picture-card-size: 108px;
}
.el-upload--picture-card {
  --el-upload-picture-card-size: 108px;
}

// 删除账单弹窗
.dialog-content-clear {
  .el-dialog__body {
    padding: 0;
  }
  .el-form-item--default {
    margin-bottom: 8px;
  }
}

.clear-form-bottom {
  .el-form-item--default {
    margin-bottom: 0px;
  }
}

// 上传列表超限后隐藏上传图片按钮
.is-full {
  .el-upload {
    display: none;
  }
}

/*  */
.body-pd-clear {
  .el-drawer__body {
    padding: 20px 0;
  }
  .el-tabs__content {
    padding: 0 20px;
  }
}